package com.bw.order.feign;

import com.bw.order.to.HouseNewroomTo;
import com.bw.order.to.HouseRentTo;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("house")
public interface HouseFeign {
    @RequestMapping("user/house-new-room/findone")
    HouseNewroomTo findone(@RequestParam("s") String s);
    @RequestMapping("/user/house-rent/findrent")
    HouseRentTo findrent(@RequestParam("id") String id);
}
